<%-- 
    Document   : quotation_update
    Created on : Jan 9, 2009, 3:27:08 PM
    Author     : hp02
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<table>
    <tr>
        <td class="menucon">
            <html:link action="/quotation_getquotations.do" title="Go to main.">Quotations</html:link>
        </td>
    </tr>
</table>
<html:messages id="messages" property="customMessage" message="true">
    <div class="heading4"><bean:write name="messages"/></div>
</html:messages>
<html:errors/>
<html:messages id="messages" property="message" message="true">
    <ul>
        <li><bean:write name="messages" filter="false"/></li>
    </ul>
</html:messages>
<html:form action="/quotation_update.do?step=save">
<table cellspacing="0">
    <html:hidden property="id"/>
    <html:hidden property="spdcf"/>
    <tr>
        <td colspan="6"><b><f:formatDate type="date" value="${date}"/></b></td>
    </tr>
    <tr>
        <td colspan="3" width="40%"><b>Customer Information</b></td>
        <td colspan="3" width="40%"><b>Quotation Information</b></td>
    </tr>
    <tr>
        <td>Name</td>
        <td>:</td>
        <td>${spdcf.customer.nama}</td>
        <td>Sales</td>
        <td>:</td>
        <td>${spdcf.inquery.sales.nama}</td>
    </tr>
    <tr>
        <td>Address</td>
        <td>:</td>
        <td>${spdcf.customer.alamat}</td>
        <td>Quot. Number</td>
        <td>:</td>
        <td>${spdcf.inquery.noQuotation}</td>
    </tr>
    <tr>
        <td>Phone</td>
        <td>:</td>
        <td>${spdcf.customer.telp}</td>
        <td>Project</td>
        <td>:</td>
        <td>${spdcf.inquery.project.nama}</td>
    </tr>
    <tr>
        <td>Fax</td>
        <td>:</td>
        <td>${spdcf.customer.fax}</td>
        <td>Prod. Specification</td>
        <td>:</td>
        <td>${spdcf.inquery.productSpec.nama}</td>
    </tr>
    <tr>
        <td>Email</td>
        <td>:</td>
        <td>${spdcf.customer.email}</td>
        <td>Standard</td>
        <td>:</td>
        <td>${spdcf.inquery.standartSpec.nama}</td>
    </tr>
    <tr>
        <td>Contact</td>
        <td>:</td>
        <td>${spdcf.customer.kontak}</td>
        <td>Finishing</td>
        <td>:</td>
        <td>${spdcf.inquery.finishing.nama}</td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Matrial</td>
        <td>:</td>
        <td><html:text property="matrial"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Thickness</td>
        <td>:</td>
        <td><html:text property="thickness"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Length</td>
        <td>:</td>
        <td><html:text property="lengt"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Payment Term</td>
        <td>:</td>
        <td><html:text property="paymentTerm"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Price</td>
        <td>:</td>
        <td><html:text property="price"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Loco</td>
        <td>:</td>
        <td><html:text property="loco"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Position Matrial</td>
        <td>:</td>
        <td><html:text property="positionMatrial"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Delivery</td>
        <td>:</td>
        <td><html:text property="delivery"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Validity Stock</td>
        <td>:</td>
        <td><html:text property="validityStock"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>Validity Price</td>
        <td>:</td>
        <td><html:text property="validityPrice"/></td>
    </tr>
    <tr>
        <td colspan="3"></td>
        <td>VAT</td>
        <td>:</td>
        <td><html:text property="vat"/> %</td>
    </tr>
    <tr>
        <td>Status</td>
        <td>:</td>
        <td colspan="4">
            <html:select property="status">
                <html:option value="0">Tender</html:option>
                <html:option value="1">Win</html:option>
                <html:option value="2">Lose</html:option>
            </html:select>
        </td>
    </tr>
    <tr>
        <td>Status Description</td>
        <td>:</td>
        <td colspan="4">
            <html:select property="statusDesc">
                <html:option value="1">Specification</html:option>
                <html:option value="2">Fee</html:option>
                <html:option value="3">Relationship</html:option>
                <html:option value="4">Price</html:option>
                <html:option value="5">Delivery</html:option>
                <html:option value="6">Payment</html:option>
                <html:option value="7">Brand</html:option>
            </html:select>
        </td>
    </tr>
    <tr>
        <td colspan="6"><html:submit value="Update Now"/></td>
    </tr>
</table>
</html:form>
